<?php
class LoginlogModel extends RelationModel {
	
	

	public function addlog($phone,$content)
    {
    	$data= [
    		'user_id' => $phone, 
    	] ; 
    	
    	$this->create($data); 
    	$this->save();      	
    } 

}
?> 